Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lossless WebP image decoding #1624

Merged
merged 20 commits into from
Nov 30, 2021
Merged

Conversation

tristanphease
Copy link
Contributor

Does lossless image decoding for WebP images.
It worked on all the lossless images I tried, so as best as I can tell it works.
Definitely scope for optimisations and there's probably too much type conversion going on but the lossless does a lot of indexing with random numbers.
Feedback would be appreciated.

src/codecs/webp/huffman.rs Outdated Show resolved Hide resolved
src/codecs/webp/lossless.rs Outdated Show resolved Hide resolved
src/codecs/webp/lossless.rs Outdated Show resolved Hide resolved
src/codecs/webp/lossless.rs Outdated Show resolved Hide resolved
src/codecs/webp/decoder.rs Outdated Show resolved Hide resolved
tristanphease and others added 6 commits November 26, 2021 13:14
Co-authored-by: HeroicKatora <HeroicKatora@users.noreply.github.com>
Co-authored-by: HeroicKatora <HeroicKatora@users.noreply.github.com>
Co-authored-by: HeroicKatora <HeroicKatora@users.noreply.github.com>
Also stretches the type to avoid possible overflow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants